package com.duan.laugh.upms.api.pojo.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户通行证
 *
 * @author duanjw
 */
@Data
@ApiModel(value = "用户通行证")
@EqualsAndHashCode(callSuper = true)
public class UserPass extends Model<UserPass> {

    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "通行证id")
    private Long passId;

}
